Optimal. Leaf size=70 \[ -\frac {\sqrt {5} \cot (c+d x) E\left (\text {ArcSin}\left (\frac {\sqrt {-2+3 \cos (c+d x)}}{\sqrt {\cos (c+d x)}}\right )|\frac {1}{5}\right ) \sqrt {-1+\sec (c+d x)} \sqrt {1+\sec (c+d x)}}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.030, Rules used = {3073}
\begin {gather*} -\frac {\sqrt {5} \cot (c+d x) \sqrt {\sec (c+d x)-1} \sqrt {\sec (c+d x)+1} E\left (\text {ArcSin}\left (\frac {\sqrt {3 \cos (c+d x)-2}}{\sqrt {\cos (c+d x)}}\right )|\frac {1}{5}\right )}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3073
Rubi steps
\begin {align*} \int \frac {1+\cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {-2+3 \cos (c+d x)}} \, dx &=-\frac {\sqrt {5} \cot (c+d x) E\left (\sin ^{-1}\left (\frac {\sqrt {-2+3 \cos (c+d x)}}{\sqrt {\cos (c+d x)}}\right )|\frac {1}{5}\right ) \sqrt {-1+\sec (c+d x)} \sqrt {1+\sec (c+d x)}}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 49.13, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1+\cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {-2+3 \cos (c+d x)}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(599\) vs.
\(2(61)=122\).
time = 1.80, size = 600, normalized size = 8.57
method | result | size |
default | \(-\frac {2 \EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right ) \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {3}{2}} \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+4 \EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right ) \cos \left (d x +c \right ) \sin \left (d x +c \right ) \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {3}{2}} \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+2 \left (\cos ^{2}\left (d x +c \right )\right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right ) \sin \left (d x +c \right )+2 \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {3}{2}} \sin \left (d x +c \right ) \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right )+\left (\cos ^{2}\left (d x +c \right )\right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \EllipticE \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right ) \sin \left (d x +c \right )+2 \cos \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right ) \sin \left (d x +c \right )+\cos \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \EllipticE \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right ) \sin \left (d x +c \right )-3 \left (\cos ^{3}\left (d x +c \right )\right )+5 \left (\cos ^{2}\left (d x +c \right )\right )-2 \cos \left (d x +c \right )}{d \sqrt {-2+3 \cos \left (d x +c \right )}\, \cos \left (d x +c \right )^{\frac {3}{2}} \sin \left (d x +c \right )}\) | \(600\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\cos {\left (c + d x \right )} + 1}{\sqrt {3 \cos {\left (c + d x \right )} - 2} \cos ^{\frac {3}{2}}{\left (c + d x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\cos \left (c+d\,x\right )+1}{{\cos \left (c+d\,x\right )}^{3/2}\,\sqrt {3\,\cos \left (c+d\,x\right )-2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________